package com.citms.remote.client;


import com.citms.common.Constant;
import com.citms.remote.model.ResultInfoModel;
import com.citms.remote.model.UserModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 调用账号管理服务
 */
@FeignClient(Constant.SERVICE_SMW_CODE)
public interface AccountClient {

    @PostMapping("/smw/Account/GetSomeAccountByCode")
    ResultInfoModel<List<UserModel>> getSomeAccountByCode(@RequestBody List<String> userCodeList);
}
